projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4405d73
)
Fix typo in previous browse-url-file-url change
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 7 Mar 2022 04:58:39 +0000
(
05:58
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 7 Mar 2022 04:58:39 +0000
(
05:58
+0100)
* lisp/net/browse-url.el (browse-url-file-url): Fix typo in
previous change.
lisp/net/browse-url.el
patch
|
blob
|
history
diff --git
a/lisp/net/browse-url.el
b/lisp/net/browse-url.el
index ccb4e12a9f13daca024d69daa23b23f5b5c4906e..17169fec0f08c8b2b2aafe59b0f3e559e2b0fc30 100644
(file)
--- a/
lisp/net/browse-url.el
+++ b/
lisp/net/browse-url.el
@@
-724,7
+724,7
@@
Use variable `browse-url-filename-alist' to map filenames to URLs."
;; reasons.
(seq-find (lambda (match)
(and (string-match-p (car match) file)
- (not (string-match "\\`file:" (c
a
dr match)))))
+ (not (string-match "\\`file:" (cdr match)))))
browse-url-filename-alist))
(setq file (browse-url-url-encode-chars file "[*\"()',=;?% ]"))
;; Encode all other file names properly.